Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <title>Page Title</title> <base target="_blank"> <body> <img src="../images/html5.gif"> <p> Since we have specified a base URL, the browser will look for the image "html5.gif" at "http://www.w3schools.com/images/html5.gif" </p> <p><a href="../index.html">W3Schools</a> </p> <p> The link above opens in a new window. This is because the base target is set to "_blank". </p> </body> <!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_head_base by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:20:33 GMT --> </html>
Result:
Try it Yourself - © w3schools.com